package com.quanxiaoha.weblog.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Roy
 * @since 2025-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("schedule_habit")
@ApiModel(value="ScheduleHabit对象", description="")
public class ScheduleHabit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "练习名称")
    private String habitName;

    @ApiModelProperty(value = "目标数量")
    private Integer targetCount;

    @ApiModelProperty(value = "完成数量")
    private Integer completedCount = 0;

    @ApiModelProperty(value = "等级")
    private Integer habitLevel;

    @ApiModelProperty(value = "难度")
    private String difficulty;

    @ApiModelProperty(value = "触发锚点")
    private String habitTrigger;

    @ApiModelProperty(value = "奖励")
    private String reward;

    @ApiModelProperty(value = "打卡描述( 1 - 否 2 - 是)")
    private Integer isContent;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后一次更新时间")
    private LocalDateTime updateTime;


}
